Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: minimize button remaining hovered on Windows #5175

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Feb 14, 2024

When clicking the minimize button and restoring the window, the minimize button will remain in a hovered state until the mouse enters the window. This is because we don't receive a WM_NCMOUSELEAVE event after the button was clicked. We emulate the event by checking for SIZE_MINIMIZED in the WM_SIZE handler.

@pajlada pajlada merged commit 4a5d4ef into Chatterino:master Feb 14, 2024
17 checks passed
@Nerixyz Nerixyz deleted the fix/mini-hover branch February 14, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants